home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
disk
/
antivirus_utils
/
bootx5.23
/
install bootx
< prev
next >
Wrap
Text File
|
1995-02-27
|
2KB
|
100 lines
; $VER: Install_BootX 2.00 (21.10.92)
failat 20
version >NIL: exec.library 37
if warn
echo "*nYou need KickStart 2.0 or higher to use this version of BootX."
echo "BootX v4.50 was the last version that supported KickStart 1.3."
echo "*nPlease upgrade your system. Your Amiga will thank you."
skip End
endif
if exists C:Installer
echo "*nRunning the Commodore Installer utility..."
Installer >NIL: SCRIPT Installer.script APPNAME "BootX 5.20" MINUSER novice DEFUSER expert LANGUAGE english
skip Completed
else
echo "*nA script for the Commodore Installer utility has been provided.*n"
echo "If you have this utility either from Commodore or from an other"
echo "software package, please copy it to your C: directory.*n"
echo "You are now given the choice to continue to install BootX using the"
echo "defaults built into this script or to abort the installation and to"
echo "restart it after you have copied the Installer program in the C:"
echo "directory.*n"
ask "Shall I continue to install BootX ?"
if not warn
skip Aborted
else
skip Install
endif
endif
lab Install
set Default "Work:Utilities"
echo "Please specify the drawer to install BootX in."
echo "([Return] = $Default) ? " noline
unset Destination
set >NIL: Destination ?
if "$Destination" EQ "*$Destination"
set Destination $Default
endif
failat 21
assign >NIL: ${Destination} exists
if fail
failat 10
if not exists $Destination
failat 21
makedir "$Destination"
if fail
echo "*NUnable to create drawer $Destination !"
failat 10
skip back Install
endif
endif
set Temp "$Destination/"
set Destination $Temp
unset Temp
endif
echo "Copying BootX and support files..."
copy BootX#? "$Destination" quiet clone buffer=0
echo "Copying libraries..."
copy Libs/#? Libs: quiet clone buffer=0
echo "*NDo you wish to install the locale files " noline
ask "(y/n) ?"
if warn
failat 10
if not exists SYS:Locale
failat 21
makedir "SYS:Locale"
if fail
echo "*NUnable to create drawer SYS:Locale !"
echo "Locale files not installed."
failat 10
skip Completed
endif
echo "Copying locale files..."
copy Locale/#? SYS:Locale quiet clone buffer=0 all
endif
lab Completed
echo "Installation completed.*n"
skip End
lab Aborted
echo "Installation aborted!*n"
lab End
wait 5
endcli >NIL: